RAIS  3.2
RAIS::DataAccessLayer::MessageManagement Class Reference

This class implements D.A.L. methods for message management. More...

List of all members.

Static Public Member Functions

static Messages GetInputMessagesByUser (UserData user)
 This method retrieves from DB not validated messages by User-To object.
static List< Facility > getAllowedFacilitiesForRestriction (MessageBoxRestriction mbr, UserData user)
static List< Facility > getAllowedFacilitiesForRestriction (DataRoleAttribute dra, UserData user)
static Message GetOpenAccountRequest (UserData user)
 This method retrieves from DB opend account request for user.
static bool AddMessage (Message message, ref string returnMessage)
 This method adds new record in Message table.
static bool SaveMessage (Message message, ref string returnMessage)
 This method saves changes in Message table.
static bool SaveMessageHistoryRowID (int messageID, int historyRowID, ref string returnMessage)
 This method saves History Row ID in Message table.
static ValidationData GetValidationDataByMessage (Message message, UserData user)
 This method retrieves ValidationData object by message ID.
static bool ReleaseChanges (Message message, ref string actionMessage, UserData user)
 This method releases validated changes in DB.
static bool RejectChanges (Message message, ref string actionMessage, UserData user)
 This method rejects validated changes in DB.
static void CreateAnswerMessage (Message validationMessage, UserData validator)

Properties

static ModificationTypes ModificationTypes [get]
 This property retrieves a list of all available modification types.
static ValidationStatuses ValidationStatuses [get]
 This property retrieves a list of all available validation statuses.

Detailed Description

This class implements D.A.L. methods for message management.


Member Function Documentation

static bool RAIS::DataAccessLayer::MessageManagement::AddMessage ( Message  message,
ref string  returnMessage 
) [static]

This method adds new record in Message table.

Parameters:
messageobject to be saved into DB.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 406 of file MessageManagement.cs.

static void RAIS::DataAccessLayer::MessageManagement::CreateAnswerMessage ( Message  validationMessage,
UserData  validator 
) [static]

Definition at line 788 of file MessageManagement.cs.

static List<Facility> RAIS::DataAccessLayer::MessageManagement::getAllowedFacilitiesForRestriction ( MessageBoxRestriction  mbr,
UserData  user 
) [static]

Definition at line 186 of file MessageManagement.cs.

static List<Facility> RAIS::DataAccessLayer::MessageManagement::getAllowedFacilitiesForRestriction ( DataRoleAttribute  dra,
UserData  user 
) [static]

Definition at line 225 of file MessageManagement.cs.

static Messages RAIS::DataAccessLayer::MessageManagement::GetInputMessagesByUser ( UserData  user) [static]

This method retrieves from DB not validated messages by User-To object.

Parameters:
user- UserData object to retrieve messages addressed to
Returns:
dictionary with message ID as key and Message Class Object as value

Definition at line 91 of file MessageManagement.cs.

static Message RAIS::DataAccessLayer::MessageManagement::GetOpenAccountRequest ( UserData  user) [static]

This method retrieves from DB opend account request for user.

Parameters:
user- UserData object to retrieve messages addressed to
Returns:
dictionary with message ID as key and Message Class Object as value

Definition at line 374 of file MessageManagement.cs.

static ValidationData RAIS::DataAccessLayer::MessageManagement::GetValidationDataByMessage ( Message  message,
UserData  user 
) [static]

This method retrieves ValidationData object by message ID.

Parameters:
messageID- message ID
Returns:
ValidationData object

Definition at line 511 of file MessageManagement.cs.

static bool RAIS::DataAccessLayer::MessageManagement::RejectChanges ( Message  message,
ref string  actionMessage,
UserData  user 
) [static]

This method rejects validated changes in DB.

Parameters:
message- message object

Definition at line 749 of file MessageManagement.cs.

static bool RAIS::DataAccessLayer::MessageManagement::ReleaseChanges ( Message  message,
ref string  actionMessage,
UserData  user 
) [static]

This method releases validated changes in DB.

Parameters:
message- message object

Definition at line 603 of file MessageManagement.cs.

static bool RAIS::DataAccessLayer::MessageManagement::SaveMessage ( Message  message,
ref string  returnMessage 
) [static]

This method saves changes in Message table.

Parameters:
messageobject to be saved into DB.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 447 of file MessageManagement.cs.

static bool RAIS::DataAccessLayer::MessageManagement::SaveMessageHistoryRowID ( int  messageID,
int  historyRowID,
ref string  returnMessage 
) [static]

This method saves History Row ID in Message table.

Parameters:
messageobject to be saved into DB.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 480 of file MessageManagement.cs.


Property Documentation

ModificationTypes RAIS::DataAccessLayer::MessageManagement::ModificationTypes [static, get]

This property retrieves a list of all available modification types.

Returns:
Dictionary of modification type names vs modification type objects
Warning:
Addressing this property casues an MS SQL query. Use is for initialising a local variable instead of addressing it iteratively.

Definition at line 60 of file MessageManagement.cs.

ValidationStatuses RAIS::DataAccessLayer::MessageManagement::ValidationStatuses [static, get]

This property retrieves a list of all available validation statuses.

Returns:
Dictionary of validation status names vs validation status objects
Warning:
Addressing this property casues an MS SQL query. Use is for initialising a local variable instead of addressing it iteratively.

Definition at line 71 of file MessageManagement.cs.


The documentation for this class was generated from the following file: